package com.yaoandw.lucene;

import java.io.Serializable;
import java.util.List;

public class Result implements Serializable{
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private int totalCnt;
	private List<RecordResult> results;
	private double cost;

	public Result(int totalCnt, List<RecordResult> results,double cost) {
		this.totalCnt = totalCnt;
		this.results = results;
		this.cost = cost;
	}

	public int getTotalCnt() {
		return totalCnt;
	}

	public void setTotalCnt(int totalCnt) {
		this.totalCnt = totalCnt;
	}

	public List<RecordResult> getResults() {
		return results;
	}

	public void setResults(List<RecordResult> results) {
		this.results = results;
	}

	public double getCost() {
		return cost;
	}

	public void setCost(double cost) {
		this.cost = cost;
	}
	
}
